package org.sagitta.httprpc.exception;

public class RPCException extends Exception {

	private static final long serialVersionUID = 38923334222805988L;
	public static final int ACTIONNOTEXIST = 404;
	public static final int INTERNALERROR = 501;
	public static final int REQUESTMASHLLERROR = 502;
	public static final int RESPONSEMASHLLERROR = 503;
	private int code;

	public int getCode() {
		return code;
	}

	public RPCException(int code) {
		super();
		this.code = code;
	}
}
